package xyz.bali16.module.netdisk.model.netdiskport;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("添加标签参数")
public class NetdiskPortAddParam {

    @ApiModelProperty(name = "text", value = "网盘服务名字", required = true)
    @NotNull(message = "网盘服务名字")
    private String name;

    @ApiModelProperty(name = "port", value = "网盘服务端口", required = true)
    @NotNull(message = "网盘服务端口不能为空")
    private String port;
}
